home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 164 - Disc 2 / MF_UK_164_2.iso / DiscContents / Games / Football Manager 2006 / Install Mac FM2006 Gold Demo.dmg / FM2006 Gold Demo / data / panels / dialog buttons mac.xml < prev    next >
Encoding:
Text File  |  2005-09-25  |  1.7 KB  |  55 lines

  1. <panel>
  2.  
  3.     <!-- arrange items horizontally, right aligned -->
  4.     <layout class="arrange_horizontal_attachment" alignment="right" offset="0"/>
  5.     
  6.     <!-- stick buttons to bottom of box -->
  7.     <layout class="stick_to_sides_attachment" alignment="bottom" inset="0" layout_children="true" />
  8.     
  9.     <!-- fit box to the height of the biggest button -->
  10.     <layout class="fit_children_attachment" alignment="vertical" offset="0"/>
  11.     
  12.     <!-- buttons -->
  13.     <widget class="action_button_blue" id="canc" text="Cancel" hidn="true">
  14.         <layout class="autosize_attachment" />
  15.  
  16.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  17.         <record id="click_event">
  18.             <flags id="event_id" value="cncl" />
  19.             <flags id="dialog_event" value="true" />
  20.         </record>
  21.         
  22.     </widget>
  23.     
  24.     <widget class="action_button_blue" id="no" text="No" hidn="true">
  25.         <layout class="autosize_attachment" />
  26.         
  27.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  28.         <record id="click_event">
  29.             <flags id="event_id" value="no" />
  30.             <flags id="dialog_event" value="true" />
  31.         </record>
  32.         
  33.     </widget>
  34.     
  35.     <widget class="action_button_blue" id="yes" text="Yes" hidn="true">
  36.         <layout class="autosize_attachment" />
  37.  
  38.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  39.         <record id="click_event">
  40.             <flags id="event_id" value="yes" />
  41.             <flags id="dialog_event" value="true" />
  42.         </record>
  43.     </widget>
  44.     
  45.     <widget class="action_button_blue" id="ok" text="OK" hidn="true">
  46.         <layout class="autosize_attachment" />
  47.  
  48.         <!-- we need to specify that this is a dialog event (dialog_event=true) -->
  49.         <record id="click_event">
  50.             <flags id="event_id" value="ok" />
  51.             <flags id="dialog_event" value="true" />
  52.         </record>
  53.     </widget>
  54.  
  55. </panel>